package com.atguigu.gmall.product.init;

import com.atguigu.gmall.product.service.SkuInfoService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.SpringApplicationRunListener;
import org.springframework.context.ConfigurableApplicationContext;

public class ListenerTest implements SpringApplicationRunListener {
    ListenerTest(SpringApplication springApplication,String[] args){}
    public void starting() {
        System.out.println("项目启动");
    }
    public void started(ConfigurableApplicationContext context) {
        System.out.println("项目启动后");
    }

}
